package com.wejoy.video.middle.station.data.app;

import com.wejoy.video.middle.station.data.util.passwordEncoder.BCryptPasswordEncoderUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 *
 * @author: admin
 * @time: 2022/9/16 11:20
 */
@Configuration
public class BCryptConfiguration {

    /**
     * BCrypt密码校验
     *
     * @return
     */
    @Bean
    public BCryptPasswordEncoderUtils bCryptPasswordEncoder() {
        return new BCryptPasswordEncoderUtils(5, null);
    }
}
